package com.javen.service;

import java.util.List;

import com.javen.model.CarInfo;
import com.javen.model.Page;

public interface CarInfoService {
	public int insert(CarInfo carInfo);
	public List<CarInfo> selectAll(Page page);
	public List<CarInfo> selectAllByCarOwner(Page page);
	public List<CarInfo> selectByUserName(String carOwner);
	public CarInfo selectByPrimaryKey(int id);
	public int updateByPrimaryKey(CarInfo carInfo);
	public int updateInfoByPrimaryKey(CarInfo carInfo);
	public int deleteByPrimaryKey(int id);
	public int countAll();
	public int countAllByCarOwner(String carOwner);
}
